#!/bin/sh
#
# Post-autostart configuration

# PWM输出系统完全初始化后，启动9号电机自动控制器
# 这在pwm_out启动之后执行，确保PWM硬件已就绪
echo "Starting automatic motor 9 PWM control..."
if [ $VEHICLE_TYPE != none ]
then
    # 等待PWM系统完全就绪
    sleep 1
    pwm_auto_motor9 start
    echo "Motor 9 automatic PWM control activated (1700us = 80% power)"
